<?php
class TTextField extends TTemplateControl{
	public function getLabel() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Label');
    }
	public function getTextBox() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('TextBox');
    }
	public function setSkinID($value){
		$this->TextBox->SkinID = $value;
		$this->Label->SkinID = $value;
	}
	public function setLabel($value){
		$this->Label->Text = $value;
	}
	public function setTextMode($value){
		$this->TextBox->TextMode = $value;
	}
}
?>